<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>技术小馆文章可视化工具</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
        }
        
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        
        .card-hover {
            transition: all 0.3s ease;
        }
        
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        
        .feature-icon {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .step-number {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }
        
        .code-block {
            background: #1e1e1e;
            color: #d4d4d4;
            border-radius: 8px;
            padding: 1rem;
            font-family: 'Consolas', 'Monaco', monospace;
            overflow-x: auto;
        }
        
        .floating-shape {
            position: absolute;
            opacity: 0.1;
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }
        
        .mermaid {
            display: flex;
            justify-content: center;
            margin: 2rem 0;
        }
        
        .drop-cap {
            float: left;
            font-size: 4rem;
            line-height: 1;
            font-weight: 700;
            margin-right: 0.5rem;
            color: #667eea;
            font-family: 'Noto Serif SC', serif;
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero-gradient text-white relative overflow-hidden">
        <div class="floating-shape w-64 h-64 bg-white rounded-full -top-32 -right-32"></div>
        <div class="floating-shape w-48 h-48 bg-white rounded-full bottom-0 left-0" style="animation-delay: 3s;"></div>
        
        <div class="container mx-auto px-6 py-20 relative z-10">
            <div class="text-center">
                <h1 class="text-5xl md:text-6xl font-bold mb-6 animate-pulse">
                    <i class="fas fa-magic mr-4"></i>技术小馆文章可视化工具
                </h1>
                <p class="text-xl md:text-2xl mb-8 opacity-90">让技术文章阅读变得更加优雅与高效</p>
                <div class="flex justify-center space-x-6">
                    <a href="https://gitee.com/dashixin.com/html-view" target="_blank" class="bg-white text-purple-700 px-8 py-3 rounded-full font-semibold hover:bg-gray-100 transition duration-300">
                        <i class="fab fa-git-alt mr-2"></i>查看源码
                    </a>
                    <button class="bg-transparent border-2 border-white px-8 py-3 rounded-full font-semibold hover:bg-white hover:text-purple-700 transition duration-300">
                        <i class="fas fa-play mr-2"></i>观看演示
                    </button>
                </div>
            </div>
        </div>
    </section>

    <!-- Introduction Section -->
    <section class="py-16 bg-white">
        <div class="container mx-auto px-6">
            <div class="max-w-4xl mx-auto">
                <p class="text-lg leading-relaxed text-gray-700">
                    <span class="drop-cap">技</span>术小馆文章可视化工具是一款专为技术小馆网站内容打造的 Chrome 浏览器扩展插件。它可以将网页上的技术文章内容提取并以可视化、结构化的方式在右侧浮窗中展示，提升阅读体验，便于快速理解和整理技术要点。
                </p>
            </div>
        </div>
    </section>

    <!-- Features Section -->
    <section class="py-16 bg-gray-50">
        <div class="container mx-auto px-6">
            <h2 class="text-4xl font-bold text-center mb-12 text-gray-800">
                <i class="fas fa-star text-yellow-500 mr-3"></i>核心功能
            </h2>
            <div class="grid md:grid-cols-2 lg:grid-cols-4 gap-8">
                <div class="bg-white p-6 rounded-xl shadow-lg card-hover">
                    <div class="text-5xl mb-4 feature-icon">
                        <i class="fas fa-mouse-pointer"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">一键提取</h3>
                    <p class="text-gray-600">快速提取技术小馆文章正文内容，智能识别文章结构</p>
                </div>
                <div class="bg-white p-6 rounded-xl shadow-lg card-hover">
                    <div class="text-5xl mb-4 feature-icon">
                        <i class="fas fa-brain"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">AI 处理</h3>
                    <p class="text-gray-600">利用 AI 对内容进行结构化、可视化处理，提升理解效率</p>
                </div>
                <div class="bg-white p-6 rounded-xl shadow-lg card-hover">
                    <div class="text-5xl mb-4 feature-icon">
                        <i class="fas fa-window-restore"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">浮窗展示</h3>
                    <p class="text-gray-600">右侧浮窗实时展示，支持拖拽调整宽度，不影响原文阅读</p>
                </div>
                <div class="bg-white p-6 rounded-xl shadow-lg card-hover">
                    <div class="text-5xl mb-4 feature-icon">
                        <i class="fas fa-stream"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">流式响应</h3>
                    <p class="text-gray-600">支持流式响应，内容边生成边展示，提供流畅体验</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Workflow Visualization -->
    <section class="py-16 bg-white">
        <div class="container mx-auto px-6">
            <h2 class="text-4xl font-bold text-center mb-12 text-gray-800">
                <i class="fas fa-project-diagram text-purple-600 mr-3"></i>工作流程
            </h2>
            <div class="mermaid">
                graph LR
                    A[打开技术文章] --> B[点击插件图标]
                    B --> C[开始可视化]
                    C --> D[AI 内容处理]
                    D --> E[浮窗展示结果]
                    E --> F[交互式阅读]
                    
                    style A fill:#667eea,stroke:#fff,stroke-width:2px,color:#fff
                    style B fill:#764ba2,stroke:#fff,stroke-width:2px,color:#fff
                    style C fill:#f093fb,stroke:#fff,stroke-width:2px,color:#fff
                    style D fill:#f5576c,stroke:#fff,stroke-width:2px,color:#fff
                    style E fill:#4facfe,stroke:#fff,stroke-width:2px,color:#fff
                    style F fill:#00f2fe,stroke:#fff,stroke-width:2px,color:#fff
            </div>
        </div>
    </section>

    <!-- Installation Guide -->
    <section class="py-16 bg-gray-50">
        <div class="container mx-auto px-6">
            <h2 class="text-4xl font-bold text-center mb-12 text-gray-800">
                <i class="fas fa-download text-green-600 mr-3"></i>安装指南
            </h2>
            <div class="max-w-4xl mx-auto">
                <div class="space-y-8">
                    <div class="flex items-start">
                        <div class="step-number text-white rounded-full w-12 h-12 flex items-center justify-center font-bold text-xl mr-6 flex-shrink-0">1</div>
                        <div class="flex-1">
                            <h3 class="text-2xl font-semibold mb-3">下载源码</h3>
                            <p class="text-gray-600 mb-3">访问 Gitee 项目地址，点击"克隆/下载"获取源码。</p>
                            <div class="code-block">
                                git clone https://gitee.com/dashixin.com/html-view.git
                            </div>
                        </div>
                    </div>
                    
                    <div class="flex items-start">
                        <div class="step-number text-white rounded-full w-12 h-12 flex items-center justify-center font-bold text-xl mr-6 flex-shrink-0">2</div>
                        <div class="flex-1">
                            <h3 class="text-2xl font-semibold mb-3">加载扩展</h3>
                            <p class="text-gray-600">打开 Chrome 浏览器，输入 <code class="bg-gray-200 px-2 py-1 rounded">chrome://extensions/</code> 进入扩展管理页面。开启右上角"开发者模式"，点击"加载已解压的扩展程序"，选择项目源码目录。</p>
                        </div>
                    </div>
                    
                    <div class="flex items-start">
                        <div class="step-number text-white rounded-full w-12 h-12 flex items-center justify-center font-bold text-xl mr-6 flex-shrink-0">3</div>
                        <div class="flex-1">
                            <h3 class="text-2xl font-semibold mb-3">完成安装</h3>
                            <p class="text-gray-600">安装成功后，浏览器右上角会出现插件图标。现在你可以开始使用了！</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- FAQ Section -->
    <section class="py-16 bg-white">
        <div class="container mx-auto px-6">
            <h2 class="text-4xl font-bold text-center mb-12 text-gray-800">
                <i class="fas fa-question-circle text-blue-600 mr-3"></i>常见问题
            </h2>
            <div class="max-w-4xl mx-auto space-y-6">
                <div class="bg-gradient-to-r from-blue-50 to-purple-50 p-6 rounded-xl">
                    <h3 class="text-xl font-semibold mb-2 text-gray-800">
                        <i class="fas fa-exclamation-triangle text-yellow-500 mr-2"></i>插件无法安装或无法使用？
                    </h3>
                    <p class="text-gray-600">请确认浏览器为 Chrome 或兼容的 Chromium 浏览器，并已开启开发者模式。检查是否完整下载了源码，推荐使用 dist 目录下的文件。</p>
                </div>
                
                <div class="bg-gradient-to-r from-green-50 to-blue-50 p-6 rounded-xl">
                    <h3 class="text-xl font-semibold mb-2 text-gray-800">
                        <i class="fas fa-hand-pointer text-purple-500 mr-2"></i>点击插件无反应？
                    </h3>
                    <p class="text-gray-600">请刷新网页后重试，或在扩展管理页面移除后重新加载。检查是否有其他插件冲突或浏览器安全策略限制。</p>
                </div>
                
                <div class="bg-gradient-to-r from-purple-50 to-pink-50 p-6 rounded-xl">
                    <h3 class="text-xl font-semibold mb-2 text-gray-800">
                        <i class="fas fa-file-alt text-green-500 mr-2"></i>内容显示不完整或异常？
                    </h3>
                    <p class="text-gray-600">某些特殊页面结构可能导致内容提取不完整，建议反馈具体页面链接至项目仓库 issue。</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Privacy Notice -->
    <section class="py-16 bg-gradient-to-r from-purple-100 to-blue-100">
        <div class="container mx-auto px-6">
            <div class="max-w-4xl mx-auto text-center">
                <h2 class="text-3xl font-bold mb-6 text-gray